package com.jmp.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import one.stand.dto.PageResponse2;

import java.util.List;

/**
 * @author cjr
 */
@Data
@Builder
public class SupplierMyGoodsResponse {
    @ApiModelProperty(value = "产品列表", dataType = "SupplierGoodsResponse.Goods")
    private PageResponse2<Goods> goodsList;

    @ApiModel("SupplierGoodsResponse.Goods")
    @Data
    @Builder
    public static class Goods {
        @ApiModelProperty(value = "商品ID")
        private Integer goodsId;
        @ApiModelProperty(value = "商品名称")
        private String goodsName;
        @ApiModelProperty(value = "图片")
        private String photo;
        @ApiModelProperty(value = "3d vr、ar、视频、中科公信")
        private List<String> labels;
        @ApiModelProperty(value = "人气")
        private Long popularityNum;
    }
}
